package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;
import com.itheima.pojo.Sport;

import java.util.List;

public interface FoodBaseService {

    void addFoodList(List<Food> list);

    //分页查询
    PageInfo findPage(QueryPageBean queryPageBean);

    //添加单个膳食
    void addOneFood(Food food);

    //根据id查询food
    Food findById(Integer id);

    //更新food
    void update(Food food);

    //根据id删除膳食
    void deleteById(Integer id);

}
